/**
 * Created by Weex.
 * Copyright (c) 2016, Alibaba, Inc. All rights reserved.
 *
 * This source code is licensed under the Apache Licence 2.0.
 * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
 */

#import <Foundation/Foundation.h>

@interface NSArray (Weex)

- (id)wx_safeObjectAtIndex:(NSUInteger)index;

@end

@interface NSMutableArray (Weex)

+ (id)wx_mutableArrayUsingWeakReferences;

+ (id)wx_mutableArrayUsingWeakReferencesWithCapacity:(NSUInteger)capacity;
+ (void)wx_releaseArray:(id)array;

@end
